import BasicLayout from '@/layouts/basic-layout';

const meta = {
  auth: true
};

export default {
  path: '/smart-device-list',
  name: 'smart-device-list',
  redirect: {
    name: `device-model`
  },
  meta,
  component: BasicLayout,
  children: [
    {
      path: 'device-model',
      name: `device-model`,
      meta: {
        ...meta,
        title: '刷新物模型'
      },
      component: () => import('@/pages/smart-device-list/device-model')
    },
    {
      path: 'product',
      name: `product`,
      meta: {
        ...meta,
        title: '刷新产品'
      },
      component: () => import('@/pages/smart-device-list/product')
    },
  ]
};
